* {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1;
}

.vip_box_money {
  position: absolute;
  top: calc(50% - 295px);
  left: calc(50% - 351px);
  width: 702px;
  height: 585px;
  background-color: #fff;
  box-shadow: 0 0 10px rgb(0 0 0 / 30%);
  z-index: 10;
  display: none;
}

/* 头部标题 */
.vip_header {
  display: flex;
  width: 100%;
  height: 42px;
  justify-content: center;
  align-items: center;
  padding: 10px auto;
  font-size: 12px;
  color: #444;
  border-bottom: 1px solid #d8d8d8;
  background-image: linear-gradient(to top, rgb(238, 238, 238), #fff);
}

.vip_header img {
  width: 26px;
  vertical-align: middle;
}

.vip_header input {
  display: none;
}

.vip_header .head {
  width: 14px;
  height: 14px;
  background: url(../images/vip_header_input.png) 0 -27px no-repeat;
}

.vip_header a {
  font-size: 12px;
  color: #999;
}

.vip_header span {
  font-size: 16px;
}

.vip_header i {
  position: absolute;
  right: 18px;
  top: 12px;
  color: #999;
  cursor: pointer;
  font-style: normal;
  font-size: 16px;
}

/* 内容部分 */
.vip_content {
  position: absolute;
  top: 42px;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #d8d8d8;
  opacity: .5;
  display: none;

}

/* VIP充值类型 */
.vip_type {
  width: 100%;
  height: 250px;
  padding: 30px 70px;
  box-sizing: border-box;
  background-color: #f9f9f9f9;
  border-bottom: 1px solid #d8d8d8;
}

.vip_type h3 {
  width: 550px;
  height: 30px;
  font-size: 14px;
  font-weight: 400;
  color: #313131;

}

/* 充值类型 */
.vip_type_money {
  display: flex;
  justify-content: space-between;
  width: 560px;
  height: 150px;
  margin-top: 10px;
}

.vip_type_money .money_item {
  position: relative;
  width: 130px;
  height: 150px;
  border: 1px solid #d8d8d8;
  transition: all .5s;
  background-color: #fff;
}

.vip_type_money .money_item.active {
  border: 1px solid #3387ef;
}

.money_item:hover {
  cursor: pointer;
  border: 1px solid #3387ef;
}

.vip_type_money .money_item i {
  font-family: normal;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 25px;
  height: 25px;
  display: none;
  background: url(../images/vip_jlt_pic.png) -113px 291px;
}

.vip_type_money .money_item i.active {
  display: block;
}


.money_item .spec {
  width: 128px;
  height: 108px;
  box-sizing: border-box;
  padding-top: 20px;
}

.money_item .spec p {
  text-align: center;
  font-size: 14px;
  color: #969696;
}

.money_item .spec p:nth-child(2) {
  margin-top: 6px;
}

.money_item .spec p span {
  color: #313131;
  font-size: 38px;
}

.money_item>p {
  width: 128px;
  height: 38px;
  color: #313131;
  text-align: center;
  line-height: 38px;
  font-size: 16px;
  border-top: 1px dashed #d8d8d8;
}

/* 自定义月份充值 */
.money_item .custom {
  display: flex;
  width: 128px;
  height: 41px;
  color: #313131;
  font-size: 16px;
  border-top: 1px solid #d8d8d8;
}

.money_item .custom .btn_sub,
.money_item .custom .btn_add {
  display: block;
  width: 38px;
  border: none;
  font-size: 38px;
  font-weight: 400;
  cursor: pointer;
  background-color: #fafafa;
}

/* 加月份 */
.money_item .custom .btn_add .btn_img {
  display: block;
  width: 16px;
  height: 16px;
  margin: 12px auto;
  background: url(../images/vip_jlt_pic.png) -181px -103px;
}

/* 减月份 */
.money_item .custom .btn_sub .btn_img {
  display: block;
  width: 16px;
  height: 14px;
  margin: 12px auto;
  background: url(../images/vip_jlt_pic.png) -201px -103px;
}

.money_item .custom .month {
  width: 52px;
  text-align: center;
  line-height: 38px;
  border-right: 1px solid #d8d8d8;
  border-left: 1px solid #d8d8d8;
}

/* 支付方式 */
.vip_pay {
  width: 100%;
  height: 290px;
  padding: 20px 70px;
  box-sizing: border-box;
}

.vip_pay h3 {
  font-size: 14px;
  font-weight: 400;
}

.vip_pay_type {
  display: flex;
  justify-content: flex-start;
  width: 560px;
  height: 40px;
  margin-top: 12px;
}

.vip_pay_type .paytype {
  position: relative;
  width: 130px;
  height: 30px;
  margin-right: 20px;
  text-align: center;
  font-size: 14px;
  color: #313131;
  line-height: 30px;
  border: 1px solid #d8d8d8;
  transition: all .5s;
}

.vip_pay_type .paytype:hover {
  border: 1px solid #3387ef;
  cursor: pointer;
}

.vip_pay_type .paytype.active {
  border: 1px solid #3387ef;
}

.vip_pay_type .paytype i {
  font-family: normal;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 25px;
  height: 25px;
  display: none;
  background: url(../images/vip_jlt_pic.png) -113px 291px;
}

.vip_pay_type .paytype i.active {
  display: block;
}

/* 支付二维码 */
.vip_pay_pic {
  width: 550px;
  height: 168px;
  margin-top: 10px;
  text-align: center;
}

.vip_pay_pic p {
  font-size: 14px;
}

.vip_pay_pic p i {
  font-style: normal;
  font-size: 20px;
  font-weight: 400;
}

.vip_pay_pic .pay_img {
  display: block;
  width: 150px;
  height: 150px;
  margin: 10px auto;
  border: 1px solid #d8d8d8;
}

.vip_pay_pic .pay_img img {
  width: 142px;
}